home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.io.IOException;
- import java.io.InputStream;
-
- public class PropertyResourceBundle extends ResourceBundle {
- private Properties lookup = new Properties();
-
- public PropertyResourceBundle(InputStream stream) throws IOException {
- this.lookup.load(stream);
- }
-
- public Enumeration getKeys() {
- Enumeration result = null;
- if (super.parent != null) {
- Enumeration myKeys = this.lookup.keys();
- Enumeration parentKeys = super.parent.getKeys();
- result = new 1(this, myKeys, parentKeys);
- } else {
- result = this.lookup.keys();
- }
-
- return result;
- }
-
- public Object handleGetObject(String key) {
- Object obj = this.lookup.get(key);
- return obj;
- }
-
- static Properties access$lookup(PropertyResourceBundle var0) {
- return var0.lookup;
- }
- }
-